<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Enterprise extends Model
{
    //
    protected $guarded=[];

    public function user() {
        return $this->belongsTo(User::class);
    }

    protected $casts = [
        'valid'=>'boolean'
    ];

}
